package com.homegoods.designer.ui.fragments;

import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.widget.TextView;

import com.homegoods.designer.R;
import com.homegoods.resource.dialog.BaseBottomSheetDialogFragment;

/**
 * @author QiQi
 * @ClassName: StatementDialogFragment
 * @date 2018/10/8
 * @description 原创声明
 */
public class StatementDialogFragment extends BaseBottomSheetDialogFragment {
    @Override
    protected int layoutResId() {
        return R.layout.designer_dialog_statement;
    }

    @Override
    protected void initView(View view) {
        findViewById(R.id.ib_close).setOnClickListener(v -> dismiss());
        findViewById(R.id.btn_submit).setOnClickListener(v -> dismiss());
        ((TextView)findViewById(R.id.tv_statement)).setText(Html.fromHtml(getResources().getString(R.string.designer_statement)));
    }

    @Override
    protected void loadData(Bundle arguments) {

    }
}
